		<div class="tab">
			<ul class="ucase clearfix">
				<li class="activeli"><a href="#"><span>Saved Stories</span></a></li>
			</ul>
		</div>
		<div class="box">
			{checkActionsTpl location="tpl_widget_saved_start"}
			<ul class="saved">
			{php}
			include_once('Smarty.class.php');
			$main_smarty = new Smarty;
			
			include_once('config.php');
			include_once(mnminclude.'html1.php');
			include_once(mnminclude.'link.php');
			include_once(mnminclude.'tags.php');
			include_once(mnminclude.'search.php');
			include_once(mnminclude.'smartyvariables.php');
			
			global $the_template, $main_smarty, $db;
			$res = "select link_id,link_title,saved_id,saved_user_id,saved_link_id from ".table_links.",".table_saved_links." WHERE saved_link_id = link_id ORDER BY saved_id DESC limit 5";
			$list_savedlinks = $db->get_results($res);
			if($list_savedlinks) {
				foreach($list_savedlinks as $row) {
					$story_url = getmyurl("story", $row->link_id);
					echo "<li><div><a href='".$story_url."'>".$row->link_title."</a></div></li>";
				}
			}
			{/php}
			{checkActionsTpl location="tpl_widget_saved_end"}
			</ul>
		</div>
		<div class="box_bottom"><!-- //--></div>